package com.zhonghui.modlules.order.eshopVo;

import java.io.Serializable;

public class OrderDataVo  implements Serializable {
    private Integer count;

    private Double price;
    private String time;

    public OrderDataVo() {
    }

    public Integer getCount() {
        return this.count;
    }

    public Double getPrice() {
        return this.price;
    }

    public String getTime() {
        return this.time;
    }

    public void setCount(final Integer count) {
        this.count = count;
    }

    public void setPrice(final Double price) {
        this.price = price;
    }

    public void setTime(final String time) {
        this.time = time;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof OrderDataVo)) {
            return false;
        } else {
            OrderDataVo other = (OrderDataVo)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label47: {
                    Object this$count = this.getCount();
                    Object other$count = other.getCount();
                    if (this$count == null) {
                        if (other$count == null) {
                            break label47;
                        }
                    } else if (this$count.equals(other$count)) {
                        break label47;
                    }

                    return false;
                }

                Object this$price = this.getPrice();
                Object other$price = other.getPrice();
                if (this$price == null) {
                    if (other$price != null) {
                        return false;
                    }
                } else if (!this$price.equals(other$price)) {
                    return false;
                }

                Object this$time = this.getTime();
                Object other$time = other.getTime();
                if (this$time == null) {
                    if (other$time != null) {
                        return false;
                    }
                } else if (!this$time.equals(other$time)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof OrderDataVo;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $count = this.getCount();
        result = result * 59 + ($count == null ? 43 : $count.hashCode());
        Object $price = this.getPrice();
        result = result * 59 + ($price == null ? 43 : $price.hashCode());
        Object $time = this.getTime();
        result = result * 59 + ($time == null ? 43 : $time.hashCode());
        return result;
    }

    public String toString() {
        return "OrderDataVo(count=" + this.getCount() + ", price=" + this.getPrice() + ", time=" + this.getTime() + ")";
    }
}
